<h1>New weather</h1>

<% form_for(@weather) do |f| %>
  <%= f.error_messages %>

  <p>
    <%= f.label :temperature %><br />
    <%= f.text_field :temperature %>
  </p>
  <p>
    <%= f.label :conditions %><br />
    <%= f.text_field :conditions %>
  </p>
  <p>
    <%= f.submit "Create" %>
  </p>
<% end %>

<%= link_to 'Back', weathers_path %>
